package com.liyang.gulimall.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @BelongsProject: gulimall
 * @BelongsPackage: com.liyang.gulimall.member.controller
 * @Author: liyang
 * @CreateTime: 2024-01-23  18:02
 * @Description: 会员服务主启动类
 *  1、远程调用其他服务
 *      1>、引入openFeign
 *      2>、编写接口
 *      3>、开启远程调用功能
 *
 * @Version: 1.0
 */
@EnableFeignClients(basePackages = "com.liyang.gulimall.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GuliMallMember {
    public static void main(String[] args) {
        SpringApplication.run(GuliMallMember.class, args);
    }
}
